<?php echo use_helper('jQuery') ?>

<?php slot('list') ?>
    <?php include_partial('portal/list',array('portals' => $portals))?>
<?php end_slot() ?>

<?php slot('component_right') ?>
    <?php include_partial('portal/show',array('portal' => $portal, 'goto_editor' => true))?>
<?php end_slot() ?>

<?php echo jq_javascript_tag(
        jq_update_element_function('portal_list', array(
            'content' => get_slot('list'),
            )
        ).jq_update_element_function('component_right', array(
            'content' => get_slot('component_right'),
            )
        )
    )
?>